\chapter{Camera and view ports}

\begin{figure}[ht!]
\centering
\includegraphics[width=0.3\textwidth]{images/welcome.png}
\caption{The \headset start-up screen}
\end{figure}
\FloatBarrier

This section will first describe the usage of the camera and view ports in \headset. These functions work the same in all three \headset applications.

\section{Camera}
In order to work comfortably with the 3D area, several controls are available to manipulate the camera viewpoint.

\begin{description}
\item[Zooming] To zoom in or out in the screen, scroll the mouse wheel up or down. Alternatively you can zoom by holding the right mouse button down and drag the mouse up or down.
\item[Rotating] To rotate the camera around the origin, hold the left mouse button down and drag the mouse in any direction.
\item[Panning] In order to pan the camera, hold the middle mouse button down and drag the mouse in any direction. Alternatively you can pan by holding SHIFT + left mouse button down and drag the mouse in any direction.
\item[Reset camera] In order to reset the camera viewpoint to such a position that all objects fit inside the view, press the \textbf{R} key (on the keyboard).
\end{description}

\section{View ports}
\headset supports both a single view port and a setup with four smaller view ports. You can switch between both modes in the \textbf{Viewports} menu. All view ports can be configured using the \textbf{Configure Viewports...} option under the mentioned menu. The configuration dialog contains the following options:

\begin{description}
\item[Dropdown boxes] The dropdown menus can be used to select which kind of view is selected in each of the view ports. 3D View (P) represents the perspective viewpoint, while 3D View (O) is an orthogonal viewpoint.
\item[Double buffering] This is a rendering technique used to increase the performance. It is recommended to leave this option enabled.
\item[Depth peeling] When this option is enabled, the part of the model that is currently not directly visible will not be drawn on the screen. This option may have no effect on certain hardware configurations.
\item[Anti-aliasing] This option enables a rendering technique that smoothes out rugged edges. This can decrease performance.
\end{description}

\begin{figure}[ht!]
\centering
\includegraphics[width=0.45\textwidth]{images/viewports.png}
\caption{The Viewport configuration window}
\end{figure}
\FloatBarrier
